package com.umbrella.worker.dto;

import java.math.BigDecimal;
import java.util.Date;

public class StaffTimeDO extends BaseDO {
	
	private Integer id;

    private Integer tStaffId;

    private Integer tSupplierId;

    private String tServiceName;

    private String tOrderno;

    private String tStaffName;

    private String tStaffMobile;
    
    private Integer tServimeTime;
    
    private BigDecimal tFee;

    private Date tStartTime;

    private String tMemberName;

    private String tMemberMobile;

    private Date tEndTime;
    
    private long timeLength;
    

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer gettStaffId() {
		return tStaffId;
	}

	public void settStaffId(Integer tStaffId) {
		this.tStaffId = tStaffId;
	}

	public Integer gettSupplierId() {
		return tSupplierId;
	}

	public void settSupplierId(Integer tSupplierId) {
		this.tSupplierId = tSupplierId;
	}

	public String gettServiceName() {
		return tServiceName;
	}

	public void settServiceName(String tServiceName) {
		this.tServiceName = tServiceName;
	}

	public String gettOrderno() {
		return tOrderno;
	}

	public void settOrderno(String tOrderno) {
		this.tOrderno = tOrderno;
	}

	public String gettStaffName() {
		return tStaffName;
	}

	public void settStaffName(String tStaffName) {
		this.tStaffName = tStaffName;
	}

	public String gettStaffMobile() {
		return tStaffMobile;
	}

	public void settStaffMobile(String tStaffMobile) {
		this.tStaffMobile = tStaffMobile;
	}

	public Date gettStartTime() {
		return tStartTime;
	}

	public void settStartTime(Date tStartTime) {
		this.tStartTime = tStartTime;
	}

	public String gettMemberName() {
		return tMemberName;
	}

	public void settMemberName(String tMemberName) {
		this.tMemberName = tMemberName;
	}

	public String gettMemberMobile() {
		return tMemberMobile;
	}

	public void settMemberMobile(String tMemberMobile) {
		this.tMemberMobile = tMemberMobile;
	}

	public Date gettEndTime() {
		return tEndTime;
	}

	public void settEndTime(Date tEndTime) {
		this.tEndTime = tEndTime;
	}

	public long getTimeLength() {
		return (this.gettEndTime().getTime() - this.gettStartTime().getTime()) / 60 /60 / 1000;
	}

	public void setTimeLength(long timeLength) {
		this.timeLength = timeLength;
	}

	public Integer gettServimeTime() {
		return tServimeTime;
	}

	public void settServimeTime(Integer tServimeTime) {
		this.tServimeTime = tServimeTime;
	}

	public BigDecimal gettFee() {
		return tFee;
	}

	public void settFee(BigDecimal tFee) {
		this.tFee = tFee;
	}
    
}
